﻿<%@ Page Title="" Language="C#" MasterPageFile="~/common/AfterLogin.master" AutoEventWireup="true" CodeFile="Application.aspx.cs" Inherits="product_card_user_Application" %>


<asp:Content ID="Content3" ContentPlaceHolderID="leftMenu" Runat="Server">
 <ul>
                   <li><a href="<%= Page.ResolveUrl("~/product/card/user/Application.aspx")%>">Application</a></li>
                  <li><a href="<%= Page.ResolveUrl("~/product/card/user/OnlineSales.aspx")%>">Online Sales</a></li>
                   
               </ul>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="content" Runat="Server">



    <p>
        <br />
        <br />
        <br />
        <fieldset>
      <legend>  
          <asp:Label ID="Label3" runat="server" Font-Bold="True" Font-Size="X-Large" 
            Font-Underline="True" ForeColor="Red" Text="Personal Information"></asp:Label></legend>
        <br />
        <br />
        <asp:Label ID="Tittle" runat="server" Text="Tittle"></asp:Label>
&nbsp;:&nbsp;
        <asp:DropDownList ID="DropDownList1" runat="server">
            <asp:ListItem></asp:ListItem>
            <asp:ListItem>Mr</asp:ListItem>
            <asp:ListItem>Mrs</asp:ListItem>
            <asp:ListItem>Ms</asp:ListItem>
            <asp:ListItem>Mdm</asp:ListItem>
            <asp:ListItem>Dr</asp:ListItem>
        </asp:DropDownList>
         <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" ErrorMessage="Please select your tittle" ControlToValidate="DropDownList1" ForeColor="Red"></asp:RequiredFieldValidator>
       
        <br />
        <br />
        <asp:Label ID="Name" runat="server" Text="First Name "></asp:Label>
         
&nbsp;
        <br />
        <br />
        <asp:TextBox ID="N" runat="server"></asp:TextBox> &nbsp; 
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Please enter your first name" ControlToValidate="N" ForeColor="Red"></asp:RequiredFieldValidator>
       
            <br />
        <br />
            <asp:Label ID="Label4" runat="server" Text="Last Name :"></asp:Label>
            <br />
            <br />
            <asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
            &nbsp;         <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Please enter your last name" ControlToValidate="TextBox5" ForeColor="Red"></asp:RequiredFieldValidator>
           
            <br />
        <br />
        <asp:Label ID="Number" runat="server" Text="Contact Numbers :"></asp:Label>
&nbsp;<br />
        <br />
        Home :&nbsp;
        <asp:TextBox ID="Home" runat="server"></asp:TextBox> &nbsp;
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="Please enter your home number" ControlToValidate="Home" ForeColor="Red"></asp:RequiredFieldValidator>
        <br />
        <br />
        Office :&nbsp; 
        <asp:TextBox ID="Office" runat="server"></asp:TextBox> &nbsp;

        <br />
        <br />
        Mobile :
        <asp:TextBox ID="Mobile" runat="server"></asp:TextBox>&nbsp;
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="Please enter your mobile number" ControlToValidate="Mobile" ForeColor="Red"></asp:RequiredFieldValidator>
                 &nbsp;
                 <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server"
        ControlToValidate="Mobile" ErrorMessage="Please enter valid Mobile number!" SetFocusOnError = "true" ForeColor = "Red"
         ValidationExpression="^[89]\d{7}$"></asp:RegularExpressionValidator>
        <br />
        <br />
        Email :&nbsp;&nbsp;
        <asp:TextBox ID="Email" runat="server"></asp:TextBox> &nbsp;
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server"  ErrorMessage="Please enter your email" ControlToValidate="Email" ForeColor="Red"></asp:RequiredFieldValidator>
        &nbsp;
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server"
             ErrorMessage="You must enter a valid email , e.g lohyewchong@hotmail.com" ControlToValidate="Email" ForeColor = "Red"
             SetFocusOnError="True"
             ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">
</asp:RegularExpressionValidator>
        <br />
        <br />
            <br />
            &nbsp;
                <br />
        <br />
        Nationality :<br />
        <br />
            <asp:TextBox ID="TextBox10" runat="server"></asp:TextBox>
        <br />
        <br />
        NRIC/Passport Number :<br />
        <asp:TextBox ID="NRIC" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ErrorMessage="Please enter your NRIC" ControlToValidate="NRIC" ForeColor="Red"></asp:RequiredFieldValidator>
        &nbsp;&nbsp;
            <%-- <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate = "NRIC"
                ErrorMessage="RegularExpressionValidator"    ValidationExpression="/^S\d{7}[A-Z]/g" SetFocusOnError="true"></asp:RegularExpressionValidator>
                --%>
        <br />
        <br />
        Home Country :<br />
        <br />
        <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ErrorMessage="Please enter your home country" ControlToValidate="TextBox4" ForeColor="Red"></asp:RequiredFieldValidator>
        <br />
        <br />
        Date of Birth :<br />
            <br />
            <asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>
        <br />
        <br />
        Gender :<br />
        <br />
            <asp:TextBox ID="TextBox11" runat="server"></asp:TextBox>
        <br />
            <br />
            Address :<br />
            <asp:TextBox ID="TextBox7" runat="server" Height="29px" Width="571px"></asp:TextBox>
            <br />
            <br />
        <br />
        Postal Code :<br />
        <asp:TextBox ID="PostalCode" runat="server"></asp:TextBox> &nbsp;
                <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ErrorMessage="Please enter your postal code" ControlToValidate="PostalCode" ForeColor="Red"></asp:RequiredFieldValidator>
                 &nbsp;&nbsp;
                 <asp:RegularExpressionValidator ID="regexpcontactZipCode" runat="server" ControlToValidate="PostalCode"
                                                        ValidationGroup="contactValidation" Display="Dynamic" ForeColor="Red" ErrorMessage="Should be 6 e.g 730644"
                                                        ValidationExpression="\\d{5}(-\\d{4})?$" SetFocusOnError="true"></asp:RegularExpressionValidator>
        <br />
        <br /></fieldset>
        <fieldset>
   <legend>     
       <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Underline="True" 
            Text="Employment Details" ForeColor="Red" Font-Size="X-Large"></asp:Label></legend>
        <br />
        <br />
        Job Tittle :<br />
        <asp:TextBox ID="JobTittle" runat="server"></asp:TextBox>
        <br />
        <br />
        Employer :<br />
        <asp:TextBox ID="Employer" runat="server"></asp:TextBox>
        <br /></fieldset>
        <br />
        <fieldset>
        <legend>
            <asp:Label ID="Label2" runat="server" Font-Bold="True" Font-Underline="True" 
            Text="My Primary Account For The Card" ForeColor="Red" Font-Size="X-Large"></asp:Label></legend>
        <br />
        <br />
        Account Number :<br />
        <asp:TextBox ID="AccountNo" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ErrorMessage="Please enter your account number" ControlToValidate="AccountNo" ForeColor="Red"></asp:RequiredFieldValidator>
        <br />
            <br />
            <br />
        <br />
        <br /></fieldset>
        <fieldset>
        <legend><asp:Label ID="Declare" runat="server" Font-Bold="True" Font-Underline="True" 
            Text="Declaration &amp; agreement by Cardholder(s)" Font-Size="X-Large" 
            ForeColor="Red"></asp:Label></legend>
&nbsp;<br />
        <br />
        By signing this application form, I/we understand that I/we am/are requesting 
        for PS to issue a Card to me/us. I/We acknowledge that the Card may only be used 
        upon approval subject to the terms and conditions of the PS Business Card 
        Agreement (the “Business Card Agreement”), a copy of which is available on the 
        PS website. I/We jointly and severally agree to be bound by the same which shall 
        include any amendments, alterations and additions made thereto as may from time 
        to time. I/We further acknowledge and agree that the Business Account Terms and 
        Conditions (available at all PS Bank branches) which shall include any 
        amendments and additions made thereto from time to time shall apply to my/our 
        use of my/our PS business account and continue to apply in full force and 
        effect. I/We agree and consent to the disclosure of any of my/our particulars as 
        provided in the Business Card Agreement. I/We jointly and severally:
        <br />
        <br />
        i. represent and warrant that all information provided by me/us in this 
        application is true and complete and undertake to notify PS immediately of any 
        change in such information;
        <br />
        <br />
        ii. represent and warrant that I/we have read, understood and agree to be bound 
        by the Business Card Agreement;
        <br />
        <br />
        iii. confirm that I/we am/are not undischarged bankrupt(s);
        <br />
        <br />
        iv. authorise PS to conduct credit checks and verify information given in this 
        application with any party (including, without limitation, with any credit 
        bureau or any other organisation or corporation set up for the purpose of 
        collecting and providing information relating to the credit standing of persons) 
        without reference to me/us;
        <br />
        <br />
        v. irrevocably and unconditionally consent for PS to disclose any information 
        whatsoever relating to me/us as PS shall consider appropriate to any person to 
        whom disclosure is permitted or required by any applicable law or to any other 
        person wherever situated for any purpose. Without prejudice to the foregoing, 
        I/we consent to such disclosure to any credit bureau or any other organisation 
        or corporation set up for the purpose of collecting and providing information 
        relating to the credit standing of persons, and to the disclosure by such credit 
        bureau or other organisation or corporation to any member thereof, for the 
        purposes of assessing my/our credit worthiness or for other purpose whatsoever;
        <br />
        <br />
        vi. agree that PS has the absolute discretion to decline the application for the 
        Card without giving any reason and to retain documents submitted as property of&nbsp; 
        PS; and
        <br />
        <br />
        vii. agree and consent for PS to communicate with me/us with regard to any 
        promotion relating to the Card by electronic mail, SMS or any other means which 
        PS may deem appropriate at my/our contact details set out in this application or 
        which I/we may furnish to PS from time to time. I/We hereby authorise PS to 
        accept and act upon all communications or instructions from me/us to PS via 
        electronic mail or SMS with regard to such promotions and PS shall not be liable 
        if it acts upon such communications or instructions in good faith.
        <br />
        <br />
        viii. I/We hereby understand that the mobile phone number(s) and email 
        address(es) in this application may be used to update (where applicable) any of 
        the records maintained by PS in connection with my/our personal accounts with 
        PS, including but not limited to my/our personal savings, current and time 
        deposit accounts, credit cards, unit trust/CPF investments/SRS accounts and 
        loans.<br />
            <br />
        <br />
            <asp:RadioButton ID="RadioButton1" runat="server" 
                Text="I agree to the Terms And Services of PS debit card service" />
            <br />
            <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Submit" 
                Width="100px" />
&nbsp;<asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="Cancel" 
                Width="100px" />
            <br />
            <br />
            <br />
            <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
                SelectCommand="SELECT * FROM [Application]"></asp:SqlDataSource>
            <br />
            <br />
            <br />
            <br />
            <asp:TextBox ID="Total" runat="server" Visible="False">500</asp:TextBox>
            <br />
            <br />
            <asp:TextBox ID="TextBox9" runat="server" Visible="False"></asp:TextBox>
            <br />
            <br />
            <br />
            <br />
            <asp:Label ID="Label5" runat="server" Visible="False"></asp:Label>
            <br />
        <br />
        </fieldset>
    </p>
    

</asp:Content>


